package review;

/**
 * @author oldliu
 * @since 1.0
 */
public class Array5 {
    public static void main(String[] args) {
        // \u000d System.out.println("hao!");
        boolean b[]=new boolean[10];
        System.out.println(b[1]);
        int ar[]=new int[20];
        System.out.println(ar[4]);
        short []s=new short[10];
        System.out.println(s[0]);
        String str[]=new String[20];
        System.out.println(str[1]);
//        int i;
//        System.out.println(i);

        int x=0;
        ////while (x=sc.nextInt（）>=1 && x<=3)
        String[] names={"laowang","xiaozhang",null,null,null};
        String newName="老刘";
        for (int i = 0; i < names.length; i++) {
            if(names[i]==null){
                names[i]=newName;
                break;
            }
        }
        System.out.println(">>>>>>>>>>>>>>>>>>>");
        for (String ss:names){
            System.out.println(ss);
        }
    }
}
